package com.itheima.reggie.service;

import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Page;

import java.util.List;


public interface CategoryServce {

    Page<Category> findPage(Integer page, Integer pageSize);

    void save(Category category);

    void delete(Long id);

    void update(Category category);

    List<Category> findByType(Integer type);
}
